#include<stdio.h>
#include<stdlib.h>
int main()
{
	FILE* fp;int n;
   fp = fopen("D:\\code2\\D:\code2\Academic Records Management System (ARMS)\\Academic Records Management System (ARMS).txt", "w"); // 用于打开一个.txt的文件
   if(fp==NULL)
   	{printf("ERROR \n");
	   exit(0);
	   }
	else
	printf("file open\n");
	n=fclose(fp);
	if(n==0)
		printf("close");
	else
	printf("close error");exit(0);
	
	return 0;
	
	
}

